package com.situ.day11XianCheng;

public class JiOuTest {
	public static void main(String[] args) {
//		JiShu jiShu = new JiShu();
//		jiShu.start();
//		OuShu ouShu = new OuShu();
//		ouShu.start();
		
//		Nuber jishu = new Nuber("奇数线程", 1);
//		jishu.start();
//		Nuber oushu = new Nuber("偶数线程", 2);
//		oushu.start();
		
		NumberRunnable numberRunnable=new NumberRunnable();
		Thread thread=new Thread(numberRunnable,"偶数");
		thread.start();
		 
//		 NumberRunnable numberRunnable2 = new NumberRunnable();
//		 numberRunnable.setStart(2);
//		 Thread thread2 = new Thread(numberRunnable2, "偶数线程");
//		 thread2.start();
//		 
	} 
}
